//
//  SYStringUtiltity.h
//  NSArraybinarySearch
//
//  Created by huchu on 2018/8/17.
//  Copyright © 2018年 sysjones. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SYStringUtiltity : NSObject
+(BOOL)checkIdentityCard:(NSString *)string ;
+(BOOL)checkQQ:(NSString *)string;
// 手机号
+(BOOL)checkPhone :(NSString *)string;

//邮箱
+(BOOL)checkEmail :(NSString *)string;

//有效的6-18位数字、字母或字符的组合，至少具备两种类型
+(BOOL)checkMixtureParssword:(NSString *)string;
//6位数字
+(BOOL)checkPureDigitalParssword:(NSString *)string;
//用户名长度为2-15位，只接受大写字母、小写字母、数字、中划线、下划线为合法字符
+(BOOL)checkUserLoginName:(NSString*)string;
// 金额
+(BOOL)checkAmount:(NSString*)string;
// 银行卡号为15~25位数字
+(BOOL)checkBankCard:(NSString *)string;
//邮政编码
+(BOOL)checkPostalCode:(NSString *)string;
@end
